*/
/**
- * SECTION: gtkconstraintlayout
- * @Title: GtkConstraintLayout
+ * GtkConstraintLayout:
*
- * A layout manager using constraints
+ * A layout manager using constraints to describe relations between widgets.
*
* `GtkConstraintLayout` is a layout manager that uses relations between
* widget attributes, expressed via [class@Gtk.Constraint] instances, to
* ```
*/
+/**
+ * GtkConstraintLayoutChild:
+ *
+ * `GtkLayoutChild` subclass for children in a `GtkConstraintLayout`.
+ */
+
#include "config.h"
#include "gtkconstraintlayout.h"
* @layout: a `GtkConstraintLayout`
* @constraint: (transfer full): a [class@Gtk.Constraint]
*
- * Adds a [class@Gtk.Constraint] to the layout manager.
+ * Adds a constraint to the layout manager.
*
* The [property@Gtk.Constraint:source] and [property@Gtk.Constraint:target]
* properties of `constraint` can be:
* @layout: a `GtkConstraintLayout`
* @guide: (transfer full): a [class@Gtk.ConstraintGuide] object
*
- * Adds a guide to `layout`. A guide can be used as
- * the source or target of constraints, like a widget,
- * but it is not visible.
+ * Adds a guide to `layout`.
+ *
+ * A guide can be used as the source or target of constraints,
+ * like a widget, but it is not visible.
*
* The `layout` acquires the ownership of `guide` after calling
* this function.
/**
* gtk_constraint_layout_add_constraints_from_descriptionv: (rename-to gtk_constraint_layout_add_constraints_from_description)
- * @layout: a #GtkConstraintLayout
+ * @layout: a `GtkConstraintLayout`
* @lines: (array length=n_lines): an array of Visual Format Language lines
* defining a set of constraints
* @n_lines: the number of lines
* or guides
* @error: return location for a `GError`
*
- * Creates a list of constraints from a formal description using a compact
- * description syntax called VFL, or "Visual Format Language".
+ * Creates a list of constraints from a VFL description.
*
- * The Visual Format Language is based on Apple's AutoLayout [VFL](https://developer.apple.com/library/content/documentation/UserExperience/Conceptual/AutolayoutPG/VisualFormatLanguage.html).
+ * The Visual Format Language, VFL, is based on Apple's AutoLayout [VFL](https://developer.apple.com/library/content/documentation/UserExperience/Conceptual/AutolayoutPG/VisualFormatLanguage.html).
*
* The `views` dictionary is used to match [iface@Gtk.ConstraintTarget]
* instances to the symbolic view name inside the VFL.
/**
* gtk_constraint_layout_add_constraints_from_description:
- * @layout: a #GtkConstraintLayout
+ * @layout: a `GtkConstraintLayout`
* @lines: (array length=n_lines): an array of Visual Format Language lines
* defining a set of constraints
* @n_lines: the number of lines
* [iface@Gtk.ConstraintTarget] to which it maps
* @...: a `NULL`-terminated list of view names and [class@Gtk.ConstraintTarget]s
*
- * Creates a list of constraints they formal description using a compact
- * description syntax called VFL, or "Visual Format Language".
+ * Creates a list of constraints from a VFL description.
*
* This function is a convenience wrapper around
* [method@Gtk.ConstraintLayout.add_constraints_from_descriptionv], using
/**
* gtk_constraint_layout_observe_constraints:
- * @layout: a #GtkConstraintLayout
+ * @layout: a `GtkConstraintLayout`
*
- * Returns a #GListModel to track the constraints that are
+ * Returns a `GListModel` to track the constraints that are
* part of the layout.
*
* Calling this function will enable extra internal bookkeeping
* because of the slowdowns.
*
* Returns: (transfer full) (attributes element-type=GtkConstraint): a
- * #GListModel tracking the layout's constraints
+ * `GListModel` tracking the layout's constraints
*/
GListModel *
gtk_constraint_layout_observe_constraints (GtkConstraintLayout *layout)
/**
* gtk_constraint_layout_observe_guides:
- * @layout: a #GtkConstraintLayout
+ * @layout: a `GtkConstraintLayout`
*
- * Returns a #GListModel to track the guides that are
+ * Returns a `GListModel` to track the guides that are
* part of the layout.
*
* Calling this function will enable extra internal bookkeeping
* because of the slowdowns.
*
* Returns: (transfer full) (attributes element-type=GtkConstraintGuide): a
- * #GListModel tracking the layout's guides
+ * `GListModel` tracking the layout's guides
*/
GListModel *
gtk_constraint_layout_observe_guides (GtkConstraintLayout *layout)